﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FSO.Reports
{
    public partial class UserControlDatePeriodSelector : UserControl
    {
        public UserControlDatePeriodSelector()
        {
            InitializeComponent();

            radDateTimePickerFrom.Value = DateTime.Now.AddDays(-7);
            radDateTimePickerTo.Value = DateTime.Now;
        }
        public DateTime DateFrom
        {
            get
            {
                return radDateTimePickerFrom.Value;
            }
        }
        public DateTime DateTo
        {
            get
            {
                return radDateTimePickerTo.Value;
            }
        }
    }
}
